package day07;

public class SchoolTest {
    public static void main(String[] args) {
        // 创建对象
        School school1 = new School("学校1", "图书馆1", 300);
        school1.show();
        School school2 = new School("学校2", "图书馆1", 260);
        school2.show();
        School school3 = new School("学校3", "图书馆1", 180);
        school3.show();
        // school1.setLibrary("共建图书馆");
        school1.library = "共建图书馆";
        School.library = "共建图书馆";
        school1.show();
        school2.show();
        school3.show();

    }
}
